package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * RecipeInfo对象 recipeinfo
 * 
 * @author ruoyi
 * @date 2025-01-11
 */
public class RecipeInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 食谱编号 */
    private Long recipeId;

    /** 食谱名称 */
    @Excel(name = "食谱名称")
    private String recipeName;

    /** 食谱内容 */
    @Excel(name = "食谱内容")
    private String recipeContent;

    /** 不适宜人群 */
    @Excel(name = "不适宜人群")
    private String inapplicableGroups;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recipeDate;

    /** 备用1 */
    @Excel(name = "备用1")
    private String Field1;

    /** 备用2 */
    @Excel(name = "备用2")
    private String Field2;

    /** 备用3 */
    @Excel(name = "备用3")
    private String Field3;

    /** 备用4 */
    @Excel(name = "备用4")
    private String Field4;

    public void setRecipeId(Long recipeId) 
    {
        this.recipeId = recipeId;
    }

    public Long getRecipeId() 
    {
        return recipeId;
    }
    public void setRecipeName(String recipeName) 
    {
        this.recipeName = recipeName;
    }

    public String getRecipeName() 
    {
        return recipeName;
    }
    public void setRecipeContent(String recipeContent) 
    {
        this.recipeContent = recipeContent;
    }

    public String getRecipeContent() 
    {
        return recipeContent;
    }
    public void setInapplicableGroups(String inapplicableGroups) 
    {
        this.inapplicableGroups = inapplicableGroups;
    }

    public String getInapplicableGroups() 
    {
        return inapplicableGroups;
    }
    public void setRecipeDate(Date recipeDate) 
    {
        this.recipeDate = recipeDate;
    }

    public Date getRecipeDate() 
    {
        return recipeDate;
    }
    public void setField1(String Field1) 
    {
        this.Field1 = Field1;
    }

    public String getField1() 
    {
        return Field1;
    }
    public void setField2(String Field2) 
    {
        this.Field2 = Field2;
    }

    public String getField2() 
    {
        return Field2;
    }
    public void setField3(String Field3) 
    {
        this.Field3 = Field3;
    }

    public String getField3() 
    {
        return Field3;
    }
    public void setField4(String Field4) 
    {
        this.Field4 = Field4;
    }

    public String getField4() 
    {
        return Field4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recipeId", getRecipeId())
            .append("recipeName", getRecipeName())
            .append("recipeContent", getRecipeContent())
            .append("inapplicableGroups", getInapplicableGroups())
            .append("recipeDate", getRecipeDate())
            .append("Field1", getField1())
            .append("Field2", getField2())
            .append("Field3", getField3())
            .append("Field4", getField4())
            .toString();
    }
}
